﻿using System;
using System.ComponentModel.DataAnnotations;

namespace DataInterface.Model
{
    public class FailedData
    {
        public FailedData()
        {
            ID = Guid.NewGuid().ToString();
        }

        [Key]
        public string ID { get; set; }

        /// <summary>
        /// 传输驱动类型
        /// </summary>
        public string DriveType { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public string Data { get; set; }

        /// <summary>
        /// 已重试次数
        /// </summary>
        public int ReTryCount { get; set; }
    }
}
